package cc.openhome;

/**
 * Created by xuzhihan on 17/3/19.
 */
public class FlyingFish extends Fish implements Flyer{
    public FlyingFish (String name) {
        super(name);
    }
    @Override
    public void swim(){
        System.out.printf("飞鱼会游");
    }
    @Override
    public void fly(){
        System.out.printf("飞鱼会飞");
    }
}
